package snack;

import javax.swing.*;

public class Snake  {
    public static void main(String[] args) {
        JFrame frame=new JFrame();
        frame.setTitle("贪吃蛇");
        frame.setBounds(100,100,516,539);
        Game game=new Game();
        frame.add(game);
        frame.setResizable(false);
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        frame.setVisible(true);
    }
}